package cn.ddd.linktran.infrastructure.record.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@Data
@TableName("transform_event_record")
public class TransformEventRecord {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "create_time",insertStrategy = FieldStrategy.NOT_NULL)
    private Date createTime;

    @TableField(value = "edit_time",insertStrategy = FieldStrategy.NOT_NULL)
    private Date editTime;

    @TableField(value = "creator",insertStrategy = FieldStrategy.NOT_NULL)
    private String creator;

    @TableField(value = "editor",insertStrategy = FieldStrategy.NOT_NULL)
    private String editor;

    @TableField(value = "deleted",insertStrategy = FieldStrategy.NOT_NULL)
    private Byte deleted;

    @TableField(value = "version",insertStrategy = FieldStrategy.NOT_NULL)
    private Long version;

    @TableField(value = "unique_identity",insertStrategy = FieldStrategy.NOT_NULL)
    private String uniqueIdentity;

    @TableField(value = "client_ip",insertStrategy = FieldStrategy.NOT_NULL)
    private String clientIp;

    @TableField(value = "short_url",insertStrategy = FieldStrategy.NOT_NULL)
    private String shortUrl;

    @TableField(value = "long_url",insertStrategy = FieldStrategy.NOT_NULL)
    private String longUrl;

    @TableField(value = "compression_code",insertStrategy = FieldStrategy.NOT_NULL)
    private String compressionCode;

    @TableField(value = "record_time",insertStrategy = FieldStrategy.NOT_NULL)
    private Date recordTime;

    @TableField(value = "user_agent",insertStrategy = FieldStrategy.NOT_NULL)
    private String userAgent;

    @TableField(value = "cookie_value",insertStrategy = FieldStrategy.NOT_NULL)
    private String cookieValue;

    @TableField(value = "query_param",insertStrategy = FieldStrategy.NOT_NULL)
    private String queryParam;

    @TableField(value = "province",insertStrategy = FieldStrategy.NOT_NULL)
    private String province;

    @TableField(value = "city",insertStrategy = FieldStrategy.NOT_NULL)
    private String city;

    @TableField(value = "phone_type",insertStrategy = FieldStrategy.NOT_NULL)
    private String phoneType;

    @TableField(value = "browser_type",insertStrategy = FieldStrategy.NOT_NULL)
    private String browserType;

    @TableField(value = "browser_version",insertStrategy = FieldStrategy.NOT_NULL)
    private String browserVersion;

    @TableField(value = "os_type",insertStrategy = FieldStrategy.NOT_NULL)
    private String osType;

    @TableField(value = "device_type",insertStrategy = FieldStrategy.NOT_NULL)
    private String deviceType;

    @TableField(value = "os_version",insertStrategy = FieldStrategy.NOT_NULL)
    private String osVersion;

    @TableField(value = "transform_status",insertStrategy = FieldStrategy.NOT_NULL)
    private Byte transformStatus;
}
